package com.cqw;

import org.apache.poi.openxml4j.exceptions.InvalidFormatException;

import java.io.IOException;
import java.util.Map;
import java.util.TreeMap;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-08-30 16:53
 * @Description: 处理数据
 */
public class DataHandler {


    private final static String filePath = "D:\\xiazairuanjian\\WeChat\\data\\WeChat Files\\caoqingwen666\\FileStorage\\File\\2021-08\\TNB PSD RAW 0826 - simple.xlsx";


    public static void main(String[] args) throws IOException, InvalidFormatException, InstantiationException, IllegalAccessException {
//        FileInputStream inputStream = new FileInputStream(fileName);


//        File file = new File(filePath);
//        OPCPackage p = OPCPackage.open(file.getPath(), PackageAccess.READ);
//
//
//        Class<DataHandler> dataHandlerClass = DataHandler.class;
//        DataHandler dataHandler = dataHandlerClass.newInstance();
//        Package aPackage = dataHandlerClass.getPackage();


        Map<String, String> treeMap = new TreeMap<>();
        treeMap.put("a","A");
        treeMap.put("b","B");
        treeMap.put("c","C");
        System.out.println(treeMap);

        String a = treeMap.get("a");
        System.out.println(a);


    }


}
